import java.io.File;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 刘远望
 * Date: 2025-06-08
 * Time: 20:27
 */
public class Demo5 {
    public static void main(String[] args) {
        File file = new File("./test/111/222/333");

        //mkdir无法创建多级目录，只能创建单级目录
        //boolean result = file.mkdir();

        boolean result = file.mkdirs();
        System.out.println(result);
    }
}
